package com.gzc.just.play.last.war.sceneserver.gs;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * GateServer处理器类
 * 负责处理与GateServer的通信连接
 */
public class GateServerHandler {
    private static final Logger log = LoggerFactory.getLogger(GateServerHandler.class);

    private final GateServerInfo gateServerInfo;
    private final GateServerManager manager;

    public GateServerHandler(GateServerInfo gateServerInfo, GateServerManager manager) {
        this.gateServerInfo = gateServerInfo;
        this.manager = manager;
        log.debug("GateServerHandler created for server: {}", gateServerInfo.getServerId());
    }

    public GateServerInfo getGateServerInfo() {
        return gateServerInfo;
    }

    public GateServerManager getManager() {
        return manager;
    }
}
